local ItemData = require("bag.Proto").ItemData
local HeroNiceNet = require("hero.Proto").HeroNiceNet

CG_DRAWCARD_QUERY = {}
DrawCardNet = {
	{"id",			1,		"byte"},
	{"leftFreeTime",1,		"int"},	   -- 免费倒计时
	{"leftFreeCnt",	1,		"int"},	   -- 剩余免费次数
	{"items",		3,		ItemData}, -- {1次消耗道具,10次消耗道具}
	{"zuanshi",		3,		"short"},  -- {1次消耗钻石，10次消耗钻石}0为不能用钻石
	{"isFirst",		1,		"byte"},   -- 是否首次十连
	{"canBuy",		1,		"byte"},   -- 可否购买
}

GC_DRAWCARD_QUERY = {
	{"list",			3,		DrawCardNet},
	{"jifen",			1,		"int"},     -- 当前积分 
    {"qiyuan",			1,		ItemData},
    {"skip",		    1,		"byte"},   -- 是否跳过
    {"leftNoSRRCnt",    1,      "int"},    -- 还需高抽多少次，必出SSR
}

CG_DRAWCARD_OP = {
	{"id",				1,		"byte"}, --1 基础召唤 2 高级召唤 3 友情召唤 0 积分召唤
	{"op",				1,		"byte"}, --1 1次 2 10次
    {"skip",		    1,		"byte"}, --是否跳过
    {"isAct",           1,      "int"}, --是否选取up活动
}

DrawCardOpNet = {
	{"id",				1,		"byte"},
	{"op",				1,		"byte"},
	{"heros",			10,		HeroNiceNet},	-- 召唤获得英雄
    {"items",			10,		ItemData}, 		-- 自动分解获得道具
	{"jifen",			1,		"int"},			-- 当前积分
}

GC_DRAWCARD_OP = {
	{"data",			1,		DrawCardOpNet},
	{"drawData",		1,		DrawCardNet},
    {"leftNoSRRCnt",    1,      "int"},    -- 还需高抽多少次，必出SSR
    {"isAct",           1,      "int"}, --是否选取up活动
}

CG_DRAWCARD_SKIP_SET = {
	{"skip",		    1,		"byte"},   -- 是否跳过
}